package logic

import (
	"context"

	"demo22/internal/svc"
	"demo22/internal/types"

	"github.com/zeromicro/go-zero/core/logx"
)

type Demo22Logic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewDemo22Logic(ctx context.Context, svcCtx *svc.ServiceContext) *Demo22Logic {
	return &Demo22Logic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *Demo22Logic) Demo22(req *types.Request) (resp *types.Response, err error) {

	return &types.Response{Message: "xxxx"}, nil
}
